package models

import "gorm.io/gorm"

type DishFlavor struct {
	gorm.Model
	DishId int    `gorm:"column:dish_id;type:int(11);" json:"dish_id"`
	Value  string `gorm:"column:value;type:varchar(255);" json:"value"`
	Name   string `gorm:"column:name;type:varchar(32);" json:"name"`
}

func (DishFlavor) TableName() string {
	return "dish_flavor"
}
